package com.blandware.atleap.webapp.form.forum;

import javax.servlet.http.HttpServletRequest;
import com.blandware.atleap.webapp.form.BaseForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.upload.FormFile;
import org.apache.struts.upload.MultipartRequestHandler;
import java.util.Map;
import java.util.HashMap;

/**
 * @struts.form name="forumSubscriptionForm" 
 */
public  class ForumSubscriptionForm
    extends    BaseForm
    implements java.io.Serializable
{

    protected String id;

    protected String email;

    protected String token;

    protected Boolean activated;

    /** Default empty constructor. */
    public ForumSubscriptionForm() {}

    public String getId()
    {
        return this.id;
    }

   /**
    */
    public void setId(String id)
    {
        this.id = id;
    }

    public String getEmail()
    {
        return this.email;
    }

   /**
    * @struts.validator type="required"
    * @struts.validator type="email"
    * @struts.validator-args arg0resource="forum.subscription.form.email"
    */
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getToken()
    {
        return this.token;
    }

   /**
    */
    public void setToken(String token)
    {
        this.token = token;
    }

    public Boolean getActivated()
    {
        return this.activated;
    }

   /**
    */
    public void setActivated(Boolean activated)
    {
        this.activated = activated;
    }

    /**
     * @see org.apache.struts.action.ActionForm#reset(org.apache.struts.action.ActionMapping,
     *                                                javax.servlet.http.HttpServletRequest)
     */
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        // reset any boolean data types to false

        this.activated = Boolean.FALSE;

        // reset all linking properties to null

// reset all mapped properties to default values

    }

}
